package com.codebattery.domain.entity;

import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author cay91
 * @Date 2020-09-03 8:06 PM
 * @Version 1.0
 */

/**
 * 商品属性值表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GoodsAttrValue {
    private Integer id;

    /**
     * 名称
     */
    private String name;

    /**
     * 值
     */
    private String value;

    /**
     * 属性对应的库存
     */
    private Integer stock;

    /**
     * 销量
     */
    private Integer sales;

    /**
     * 属性金额
     */
    private BigDecimal price;

    /**
     * 图片
     */
    private String image;

    /**
     * 成本价
     */
    private BigDecimal cost;

    private Integer attrId;
}